package cn.lyvust.mystatic;

/**
 * Description:
 * date: 2021-4-7 21:57
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class Person {
    public String name;
    public String gender;
    public static int age;
    public static int PERSON_LIVE; 	//人的生命只有一次

    public static void showDetailsStatic(String name,String gender,int age) {
        System.out.println("姓名是：" + name + "，性别为：" + gender + "，年龄是：" + age);
    }
    public void showDetailsNoStatic(String name,String gender,int age) {
        System.out.println("姓名是：" + name + "，性别为：" + gender +"，年龄是：" + age);
    }
}
